package com.study.jdk.finalobject;

/**
 * Created by tan on 2017/9/8.
 */
public class FinalTest {
	public static void main(String[] args) {
		Holder holder = new Holder();
		Thread thread1 = new Thread(() -> System.out.println(holder.getCount()));
		thread1.start();

		final Holder fholder;

		//new Thread(() -> fholder = new Holder()).start();
		//new Thread(() -> System.out.println(fholder.getCount())).start();
	}
}

